package br.org.groupware_workbench.collablet.news.internal;

import br.org.groupware_workbench.collablet.news.NewsMgrInstance;

import br.org.groupware_workbench.collabletFw.facade.Collablet;
import br.org.groupware_workbench.coreutils.ComponentInfo;

@ComponentInfo(
    instanceType=NewsMgrInstance.class,
    version="0.1",
    configurationURL="/groupware-workbench/{collablet}/news"
)
public class NewsMgrComponent extends Collablet {

    public NewsMgrComponent() {
    }

    /*
     * Não funciona neste momento pois na instalação não existem as instâncias
    @Override
    public void install() {
        for (ComponentInstance componentInstance : this.getInstances()) {
            this.newsDAO.copyFromAUN(componentInstance.getId());
        }
    }
    */
}
